@import "./global.scss";

.container_home{
  width: 100vw;
  height: 100vh;
  @include background_color('bg-color');
  border-radius: 2rem;
  overflow: hidden;
  background: #FFFFFF;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  /* 自定义标题栏样式 */
  .title-bar {
    height: 10%;
    display: flex;
    width: 100%;
    height: 10%;
    justify-content: flex-end;
   
    align-items: center;
    height: 30px;
    background-color: #333;

    color: white;
    -webkit-app-region: drag; /* 允许拖动窗口 */
   
  }

  .title-bar button {
    background: none;
    border: none;
    color: white;
    font-size: 16px;
    cursor: pointer;
    padding: 5px 10px;
    -webkit-app-region: no-drag; /* 禁止拖动按钮 */
  }

  .title-bar button:hover {
    background-color: #555;
  }
  .context{
    flex: 1;
  }
}
